// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.common.mybatis.handlers.SysFileListTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * AmazonFbaRefundOrders
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "amazon_fba_refund_orders", autoResultMap = true)
@Schema(title = "亚马逊FBA退货订单表")
public class AmazonFbaRefundOrders implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 订单号
   */
  @TableField(value = "`order_id`")
  @Schema(title = "订单号")
  private String orderId;

  /**
   * 图片
   */
  @TableField(value = "`img`", typeHandler = SysFileListTypeHandler.class)
  @Schema(title = "图片")
  private List<SysFile> img;

  /**
   * MSKU
   */
  @TableField(value = "`sku`")
  @Schema(title = "MSKU")
  private String sku;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * 标题
   */
  @TableField(value = "`product_name`")
  @Schema(title = "标题")
  private String productName;

  /**
   * FNSKU
   */
  @TableField(value = "`fnsku`")
  @Schema(title = "FNSKU")
  private String fnsku;

  /**
   * 店铺
   */
  @TableField(value = "`sid`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long sid;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @JoinField(SysRegion.class)
  @Schema(title = "国家")
  private Long country;

  /**
   * 品名
   */
  @TableField(value = "`name`")
  @Schema(title = "品名")
  private String name;

  /**
   * SKU
   */
  @TableField(value = "`product_sku`")
  @Schema(title = "SKU")
  private String productSku;

  /**
   * 退货数量
   */
  @TableField(value = "`quantity`")
  @Schema(title = "退货数量")
  private Integer quantity;

  /**
   * 发货仓库编码
   */
  @TableField(value = "`fulfillment_center_id`")
  @Schema(title = "发货仓库编码")
  private String fulfillmentCenterId;

  /**
   * 库存属性
   */
  @TableField(value = "`detailed_disposition`")
  @Schema(title = "库存属性")
  private String detailedDisposition;

  /**
   * 退回原因
   */
  @TableField(value = "`reason`")
  @Schema(title = "退回原因")
  private String reason;

  /**
   * 状态
   */
  @TableField(value = "`status`")
  @Schema(title = "状态")
  private String status;

  /**
   * LPN编号
   */
  @TableField(value = "`license_plate_number`")
  @Schema(title = "LPN编号")
  private String licensePlateNumber;

  /**
   * 买家备注
   */
  @TableField(value = "`customer_comments`")
  @Schema(title = "买家备注")
  private String customerComments;

  /**
   * 退货时间
   */
  @TableField(value = "`return_date`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "退货时间")
  private java.util.Date returnDate;

  /**
   * 标签
   */
  @TableField(value = "`label`")
  @Schema(title = "标签")
  private String label;

  /**
   * 备注
   */
  @TableField(value = "`remark`")
  @Schema(title = "备注")
  private String remark;

  /**
   * 站点
   */
  @TableField(value = "`region`")
  @Schema(title = "站点")
  private String region;
}
